<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>首页 - 喝水记录小管家</title>
    <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css">
    <link href="https://cdn.jsdelivr.net/npm/tailwindcss@2.2.19/dist/tailwind.min.css" rel="stylesheet">
    <link rel="stylesheet" href="styles.css">
</head>
<body>
    <div class="iphone-frame">
        <div class="status-bar">
            <div>9:41</div>
            <div>
                <i class="fas fa-signal"></i>
                <i class="fas fa-wifi ml-1"></i>
                <i class="fas fa-battery-full ml-1"></i>
            </div>
        </div>
        
        <div class="content">
            <div class="flex justify-between items-center mb-6">
                <h1 class="text-2xl font-bold">今日饮水</h1>
                <div class="text-sm text-gray-500">2023年10月15日</div>
            </div>
            
            <div class="card">
                <div class="progress-circle">
                    <div class="progress-text">
                        <div class="text-3xl font-bold">1400ml</div>
                        <div class="text-sm text-gray-500">目标 2000ml</div>
                    </div>
                </div>
                
                <div class="mt-6 text-center">
                    <div class="text-lg font-semibold">已完成 70%</div>
                    <div class="text-sm text-gray-500 mt-1">距离目标还差 600ml</div>
                </div>
                
                <div class="quick-add-buttons">
                    <button class="quick-add-button">
                        <i class="fas fa-plus mr-1"></i> 200ml
                    </button>
                    <button class="quick-add-button">
                        <i class="fas fa-plus mr-1"></i> 350ml
                    </button>
                    <button class="quick-add-button">
                        <i class="fas fa-plus mr-1"></i> 500ml
                    </button>
                </div>
                
                <button class="primary-button">
                    <i class="fas fa-plus mr-2"></i> 记录饮水
                </button>
            </div>
            
            <h2 class="text-xl font-semibold mt-6 mb-3">今日记录</h2>
            
            <div class="card">
                <div class="list-item">
                    <div class="flex items-center">
                        <div class="bg-blue-100 p-2 rounded-full mr-3">
                            <i class="fas fa-glass-water text-blue-500"></i>
                        </div>
                        <div>
                            <div class="font-semibold">白开水</div>
                            <div class="text-sm text-gray-500">09:30</div>
                        </div>
                    </div>
                    <div class="font-semibold">350ml</div>
                </div>
                
                <div class="list-item">
                    <div class="flex items-center">
                        <div class="bg-green-100 p-2 rounded-full mr-3">
                            <i class="fas fa-mug-hot text-green-500"></i>
                        </div>
                        <div>
                            <div class="font-semibold">绿茶</div>
                            <div class="text-sm text-gray-500">11:15</div>
                        </div>
                    </div>
                    <div class="font-semibold">250ml</div>
                </div>
                
                <div class="list-item">
                    <div class="flex items-center">
                        <div class="bg-blue-100 p-2 rounded-full mr-3">
                            <i class="fas fa-glass-water text-blue-500"></i>
                        </div>
                        <div>
                            <div class="font-semibold">白开水</div>
                            <div class="text-sm text-gray-500">13:45</div>
                        </div>
                    </div>
                    <div class="font-semibold">500ml</div>
                </div>
                
                <div class="list-item">
                    <div class="flex items-center">
                        <div class="bg-yellow-100 p-2 rounded-full mr-3">
                            <i class="fas fa-coffee text-yellow-700"></i>
                        </div>
                        <div>
                            <div class="font-semibold">咖啡</div>
                            <div class="text-sm text-gray-500">16:20</div>
                        </div>
                    </div>
                    <div class="font-semibold">300ml</div>
                </div>
            </div>
            
            <div class="card mt-6">
                <div class="flex justify-between items-center">
                    <div>
                        <h3 class="font-semibold">下次提醒</h3>
                        <div class="text-sm text-gray-500">17:30 喝水时间到了</div>
                    </div>
                    <div class="toggle-switch">
                        <input type="checkbox" checked>
                        <span class="toggle-slider"></span>
                    </div>
                </div>
            </div>
        </div>
        
        <div class="tab-bar">
            <div class="tab-item active">
                <i class="fas fa-home tab-icon"></i>
                <span>首页</span>
            </div>
            <div class="tab-item">
                <i class="fas fa-plus-circle tab-icon"></i>
                <span>记录</span>
            </div>
            <div class="tab-item">
                <i class="fas fa-chart-line tab-icon"></i>
                <span>统计</span>
            </div>
            <div class="tab-item">
                <i class="fas fa-users tab-icon"></i>
                <span>社交</span>
            </div>
            <div class="tab-item">
                <i class="fas fa-user tab-icon"></i>
                <span>我的</span>
            </div>
        </div>
    </div>
</body>
</html>